package com.itheima.polymorphsm2;

/**
 * @author jiangxun
 * @date 11-17-2024
 */
public class Wolf extends Animal{
    String name = "狼";
    @Override
    public void eat() {
        System.out.println("狼在吃~~~");
    }

    public void run() {
        System.out.println("狼在跑~~~");
    }
}
